Skip to content

Improvements to config file handling - #104

Merged
emmahoggan merged 3 commits into
mainfrom
eh/more-resilient-corrupted-config-handling
Jul 28, 2026
Merged

Improvements to config file handling#104
emmahoggan merged 3 commits into
mainfrom
eh/more-resilient-corrupted-config-handling

Conversation

@emmahoggan

@emmahoggan emmahoggan commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Gracefully recover/rewrite config when original config file corrupted. Write config to temp file first and rename rather than writing in place to prevent creating corrupted config files.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

…. Write config to temp file first and rename rather than writing in place to prevent creating corrupted config files.
@emmahoggan emmahoggan changed the title Gracefully recover/rewrite config when original config file corrupted… Improvements to config file handling Jul 28, 2026

@BigGig17 BigGig17 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other than the change log formatting, this looks good to me

@emmahoggan
emmahoggan merged commit cf7be40 into main Jul 28, 2026
5 checks passed
@emmahoggan
emmahoggan deleted the eh/more-resilient-corrupted-config-handling branch July 28, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants